﻿@if (HttpContext.Current.Request.RequestContext.RouteData.Values["controller"].ToString() == "Admin")
{
    Layout = "~/Views/Shared/_LayoutAdmin.cshtml";  
}
else
{
    Layout = "~/Views/Shared/_Layout.cshtml";
}
